package net.realsee.domain.wcs.work.bo;

import lombok.Data;
import lombok.EqualsAndHashCode;
import net.realsee.framework.core.domain.BaseEntity;
import net.realsee.framework.core.validate.AddGroup;
import net.realsee.framework.core.validate.EditGroup;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 告警类别定义业务对象 wcs_warn_class
 *
 * @author realsee
 * @date 2023-08-24
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class WcsWarnClassBo extends BaseEntity {

    /**
     * 主键,自增ID
     */
    @NotNull(message = "主键,自增ID不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 告警类别
     */
    @NotBlank(message = "告警类别不能为空", groups = { AddGroup.class, EditGroup.class })
    private String warnClass;

    /**
     * 类别名称
     */
    private String className;

}
